/**
 * <p>
 * 弹窗配置
 *
 * @Author：Roy
 * @Description：碳汇因子
 * @Date：Create by 2023-11-23 16:12:43
 */
const popConfig = {
  'carbon-sink-factor': {
    'carbon-sink-factor-add': {
      popTitle: '新增',
      popType: 'OperateCarbonSinkFactor',
      visible: true,
      popConfig: {
        width: '30%',
        destroy: true,
        popType: 'add'
      }
    },
    'carbon-sink-factor-edit': {
      popTitle: '编辑',
      popType: 'OperateCarbonSinkFactor',
      visible: true,
      popConfig: {
        width: '30%',
        destroy: true
      }
    },
    'carbon-sink-factor-delete': {
      showType: 'confirm',
      confirmHeader: '提示',
      confirmContent: '确认删除XXX的配置信息？',
      splitProp: ['solidifyDate', 'typeName'],
      paramsProp: { id: 'id' },
      path: 'carbonSinkFactor.deleteById'
    },
    'carbon-sink-factor-import': {
      popTitle: '导入',
      popType: 'AddFile',
      visible: true,
      popConfig: {
        width: '50%',
        hideFooterBtn: true,
        // 上传接口
        upLoadPath: '/energy-carbon/ecp-admin/carbonSinkFactor/upload',
        // 模板下载参数
        tplName: 'carbonSinkFactorRenderer'
      }
    },
    'carbon-sink-factor-deleteBatch': {
      showType: 'confirm',
      dataType: 'multipleList',
      confirmHeader: '提示',
      confirmContent: '确认批量删除XXX的碳汇因子？',
      splitProp: ['solidifyDate', 'typeName'],
      paramsProp: { ids: 'id' },
      path: 'carbonSinkFactor.batchDelete'
    }
  }
}

export default {}
export { popConfig }
